package com.niit.mapper;

import com.niit.entity.Student;
import org.apache.ibatis.annotations.Select;

public interface StudentMapper {
    // abstracct method 抽象方法

    // 根据学号查询学生信息
//    @Select("select * from student where sid = #{sid}")
    Student getStudentBySid(String sid);

    int insertStudent(Student student);

    int updateStudent(Student student);

    int deleteStudentBySid(String sid);

}
